<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Silence
 * Date: 3/8/12
 * Time: 3:51 AM
 * To change this template use File | Settings | File Templates.
 */
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'event_manager');

define('STATUS_ACTIVE', 1);
define('STATUS_INACTIVE', 0);

// fid for 'folder id'
define('ROOT_FID', 'root');
define('MYFOLDER_FID', 0);
define('RECYCLE_BIN_FID', -1);

function get_settings($key)
{
    switch ($key) {
        case 'folder_markup':
            return array('iconCls' => 'x-tree-node-icon');
        default:
            return;
    }
}